package com.huike.game.common;

import com.huike.game.Activity.GameActivity1;
import com.huike.game.Activity.GameActivity10;
import com.huike.game.Activity.GameActivity11;
import com.huike.game.Activity.GameActivity12;
import com.huike.game.Activity.GameActivity13;
import com.huike.game.Activity.GameActivity14;
import com.huike.game.Activity.GameActivity15;
import com.huike.game.Activity.GameActivity16;
import com.huike.game.Activity.GameActivity17;
import com.huike.game.Activity.GameActivity18;
import com.huike.game.Activity.GameActivity19;
import com.huike.game.Activity.GameActivity2;
import com.huike.game.Activity.GameActivity20;
import com.huike.game.Activity.GameActivity21;
import com.huike.game.Activity.GameActivity22;
import com.huike.game.Activity.GameActivity23;
import com.huike.game.Activity.GameActivity24;
import com.huike.game.Activity.GameActivity25;
import com.huike.game.Activity.GameActivity26;
import com.huike.game.Activity.GameActivity27;
import com.huike.game.Activity.GameActivity28;
import com.huike.game.Activity.GameActivity29;
import com.huike.game.Activity.GameActivity3;
import com.huike.game.Activity.GameActivity30;
import com.huike.game.Activity.GameActivity31;
import com.huike.game.Activity.GameActivity32;
import com.huike.game.Activity.GameActivity33;
import com.huike.game.Activity.GameActivity34;
import com.huike.game.Activity.GameActivity35;
import com.huike.game.Activity.GameActivity36;
import com.huike.game.Activity.GameActivity37;
import com.huike.game.Activity.GameActivity38;
import com.huike.game.Activity.GameActivity39;
import com.huike.game.Activity.GameActivity4;
import com.huike.game.Activity.GameActivity40;
import com.huike.game.Activity.GameActivity41;
import com.huike.game.Activity.GameActivity42;
import com.huike.game.Activity.GameActivity43;
import com.huike.game.Activity.GameActivity44;
import com.huike.game.Activity.GameActivity45;
import com.huike.game.Activity.GameActivity46;
import com.huike.game.Activity.GameActivity47;
import com.huike.game.Activity.GameActivity48;
import com.huike.game.Activity.GameActivity49;
import com.huike.game.Activity.GameActivity5;
import com.huike.game.Activity.GameActivity50;
import com.huike.game.Activity.GameActivity51;
import com.huike.game.Activity.GameActivity52;
import com.huike.game.Activity.GameActivity53;
import com.huike.game.Activity.GameActivity54;
import com.huike.game.Activity.GameActivity55;
import com.huike.game.Activity.GameActivity56;
import com.huike.game.Activity.GameActivity57;
import com.huike.game.Activity.GameActivity58;
import com.huike.game.Activity.GameActivity59;
import com.huike.game.Activity.GameActivity6;
import com.huike.game.Activity.GameActivity60;
import com.huike.game.Activity.GameActivity61;
import com.huike.game.Activity.GameActivity62;
import com.huike.game.Activity.GameActivity63;
import com.huike.game.Activity.GameActivity64;
import com.huike.game.Activity.GameActivity65;
import com.huike.game.Activity.GameActivity66;
import com.huike.game.Activity.GameActivity69;
import com.huike.game.Activity.GameActivity7;
import com.huike.game.Activity.GameActivity70;
import com.huike.game.Activity.GameActivity8;
import com.huike.game.Activity.GameActivity9;
import com.huike.game.kActivity.kGameActivity1;

/**
 * 公共类
 */
public abstract class Common {

    /**
     * @param i 下标
     * 跳转页面
     */
    public  void toPage(int i){
        switch (i + 1){
            case 1:
                setActivity(GameActivity1.class);
                break;
            case 2:
                setActivity(GameActivity2.class);
                break;
            case 3:
                setActivity(GameActivity3.class);
                break;
            case 4:
                setActivity(GameActivity4.class);
                break;
            case 5:
                setActivity(GameActivity5.class);
                break;
            case 6:
                setActivity(GameActivity6.class);
                break;
            case 7:
                setActivity(GameActivity7.class);
                break;
            case 8:
                setActivity(GameActivity8.class);
                break;
            case 9:
                setActivity(GameActivity9.class);
                break;
            case 10:
                setActivity(GameActivity10.class);
                break;
            case 11:
                setActivity(GameActivity11.class);
                break;
            case 12:
                setActivity(GameActivity12.class);
                break;
            case 13:
                setActivity(GameActivity13.class);
                break;
            case 14:
                setActivity(GameActivity14.class);
                break;
            case 15:
                setActivity(GameActivity15.class);
                break;
            case 16:
                setActivity(GameActivity16.class);
                break;
            case 17:
                setActivity(GameActivity17.class);
                break;
            case 18:
                setActivity(GameActivity18.class);
                break;
            case 19:
                setActivity(GameActivity19.class);
                break;
            case 20:
                setActivity(GameActivity20.class);
                break;
            case 21:
                setActivity(GameActivity21.class);
                break;
            case 22:
                setActivity(GameActivity22.class);
                break;
            case 23:
                setActivity(GameActivity23.class);
                break;
            case 24:
                setActivity(GameActivity24.class);
                break;
            case 25:
                setActivity(GameActivity25.class);
                break;
            case 26:
                setActivity(GameActivity26.class);
                break;
            case 27:
                setActivity(GameActivity27.class);
                break;
            case 28:
                setActivity(GameActivity28.class);
                break;
            case 29:
                setActivity(GameActivity29.class);
                break;
            case 30:
                setActivity(GameActivity30.class);
                break;
            case 31:
                setActivity(GameActivity31.class);
                break;
            case 32:
                setActivity(GameActivity32.class);
                break;
            case 33:
                setActivity(GameActivity33.class);
                break;
            case 34:
                setActivity(GameActivity34.class);
                break;
            case 35:
                setActivity(GameActivity35.class);
                break;
            case 36:
                setActivity(GameActivity36.class);
                break;
            case 37:
                setActivity(GameActivity37.class);
                break;
            case 38:
                setActivity(GameActivity38.class);
                break;
            case 39:
                setActivity(GameActivity39.class);
                break;
            case 40:
                setActivity(GameActivity40.class);
                break;
            case 41:
                setActivity(GameActivity41.class);
                break;
            case 42:
                setActivity(GameActivity42.class);
                break;
            case 43:
                setActivity(GameActivity43.class);
                break;
            case 44:
                setActivity(GameActivity44.class);
                break;
            case 45:
                setActivity(GameActivity45.class);
                break;
            case 46:
                setActivity(GameActivity46.class);
                break;
            case 47:
                setActivity(GameActivity47.class);
                break;
            case 48:
                setActivity(GameActivity48.class);
                break;
            case 49:
                setActivity(GameActivity49.class);
                break;
            case 50:
                setActivity(GameActivity50.class);
                break;
            case 51:
                setActivity(GameActivity51.class);
                break;
            case 52:
                setActivity(GameActivity52.class);
                break;
            case 53:
                setActivity(GameActivity53.class);
                break;
            case 54:
                setActivity(GameActivity54.class);
                break;
            case 55:
                setActivity(GameActivity55.class);
                break;
            case 56:
                setActivity(GameActivity56.class);
                break;
            case 57:
                setActivity(GameActivity57.class);
                break;
            case 58:
                setActivity(GameActivity58.class);
                break;
            case 59:
                setActivity(GameActivity59.class);
                break;
            case 60:
                setActivity(GameActivity60.class);
                break;
            case 61:
                setActivity(GameActivity61.class);
                break;
            case 62:
                setActivity(GameActivity62.class);
                break;
            case 63:
                setActivity(GameActivity63.class);
                break;
            case 64:
                setActivity(GameActivity64.class);
                break;
            case 65:
                setActivity(GameActivity65.class);
                break;
            case 66:
                setActivity(GameActivity66.class);
                break;
            case 69:
                setActivity(GameActivity69.class);
                break;
            case 70:
                setActivity(GameActivity70.class);
                break;
            case 71:
                setActivity(kGameActivity1.class);

        }
    }

    /**
     * 让主类实现这个方法
     * @param o
     */
    public abstract  void setActivity(Object o);
}
